package com.guinea.system.service;

import java.io.Serializable;
import com.guinea.core.orm.HibernateDao;
import com.guinea.core.service.EntityService;
import com.guinea.system.dao.DictionaryDao;
import com.guinea.system.entity.Dictionary;

public class DictionaryService extends EntityService {
	private DictionaryDao dictionaryDao;

	public Dictionary getDictionary(Serializable id) {
		return (Dictionary) getDictionaryDao().get(id);
	}

	public HibernateDao getEntityDao() {
		return dictionaryDao;
	}

	public DictionaryDao getDictionaryDao() {
		return dictionaryDao;
	}

	public void setDictionaryDao(DictionaryDao dictionaryDao) {
		this.dictionaryDao = dictionaryDao;
	}
	
}
